<template>
	<el-descriptions :column="3" border>
		<el-descriptions-item label="责任部门">{{ message?.base?.responsibleDept || '' }}</el-descriptions-item>
		<el-descriptions-item label="预算单位">{{ message?.base?.budgetUnit || '' }}</el-descriptions-item>
		<el-descriptions-item label="应用牵头部门（专题组组长单位）">{{ message?.base?.leadDept || '' }}</el-descriptions-item>
		<el-descriptions-item label="是否需要企业直接报数">{{ dictionary.isYN(message?.base?.report) || '' }}</el-descriptions-item>
		<el-descriptions-item v-if="message?.base?.report == 1" label="企业直接数据描述"> {{ message?.base?.reportDetail || '' }}</el-descriptions-item>
	</el-descriptions>
</template>

<script lang="ts" setup>
import dictionary from './dictionary.js';
import { toRefs, defineProps } from 'vue';

const props = defineProps({
	message: Object,
});

const { message } = toRefs(props);
</script>

<style lang="scss" scoped>
.unit {
	display: flex;
	flex-wrap: wrap;
	.item_box {
		width: 30%;
		margin: 5px 0px;
		.item_name {
			color: #999999;
		}
	}
}
:deep(.el-descriptions__label) {
	width: 15% !important;
}
</style>
